export default {
    namespaced:true,
    // 模块的vuex的配置
    state: {
        // 用户的模块的数据
        isLogin: false,
        userInfo:{
            name:'孔祥瑞',
            id: 19,
        },
        title:""
    },
    mutations:{
        changeLoginState(state,payload){
            state.isLogin = payload.isLogin
        },
        changeTitle(state,payload){
            state.title = payload.title
        }
    },
    actions:{
        // eslint-disable-next-line
        initUserInfo(context,payload){
            // eslint-disable-next-line
            debugger
        }
    }
}
